package com.aiyige.page.my.order.adapter.refund;

public class RefundImageEntity {
    public static final int TYPE_ADD = 1;
    public static final int TYPE_NORMAL = 2;
    String path;
    int type;

    public RefundImageEntity() {
    }

    private RefundImageEntity(Builder builder) {
        setPath(builder.path);
        setType(builder.type);
    }

    public static Builder newBuilder() {
        return new Builder();
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public static final class Builder {
        private String path;
        private int type;

        private Builder() {
        }

        public Builder path(String val) {
            path = val;
            return this;
        }

        public Builder type(int val) {
            type = val;
            return this;
        }

        public RefundImageEntity build() {
            return new RefundImageEntity(this);
        }
    }
}
